package com.javasm.mingming.adminuser.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javasm.mingming.adminuser.dao.AdminAuthorityDao;
import com.javasm.mingming.adminuser.entity.AdminAuthority;
import com.javasm.mingming.adminuser.service.AdminAuthorityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (AdminAuthority)表服务实现类
 *
 * @author makejava
 * @since 2025-01-15 11:04:13
 */
@Service("adminAuthorityService")
public class AdminAuthorityServiceImpl extends ServiceImpl<AdminAuthorityDao, AdminAuthority> implements AdminAuthorityService {

    @Resource
    AdminAuthorityDao adminAuthorityDao;
    @Override
    public List<AdminAuthority> getByUid(Long uid) {

        List<AdminAuthority> list = adminAuthorityDao.selectListByUid(uid);
        return list;
    }
}

